// app.js
App({
  globalData: {
    config: {
      userID: '',
      SECRETKEY: '5d133f8a9ff6cd7ab58eee4dfa1a7b50a2d1ce64297fc0e6ff675f5b09e880b1', // Your secretKey
      SDKAPPID: 1600083184, // Your SDKAppID
      EXPIRETIME: 604800,
    },
    onlineService: "https://girls-social.mynatapp.cc",
    offlineService: "http://localhost:8000",
    userInfo: null,
    remote_src:{
      setting: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=setting.png",
      add: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=add.png",
      arrow_down: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=arrow-down.png",
      arrow_up: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=arrow-up.png",
      arrow_right: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=arrow-right.png",
      arrow_left: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=arrow-left.png",
      close: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=close.png",
      flower: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=flower.png",
      group_avatar: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=group-avatar.png",
      info: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=info.png",
      location: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=location.png",
      message1: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=message1.png",
      message2: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=message2.png",
      money_bag: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=money_bag.png",
      people: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=people.png",
      photo: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=photo.png",
      plus: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=plus.png",
      publish1: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=publish1.png",
      publish2: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=publish2.png",
      shopping: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=shopping.png",
      sport: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=sport.png",
      time: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=time.png",
      share: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=share.png",
      heart: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=heart1.png",
      heart_filled: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=heart2.png",
      notify: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=notify.png",
      certficate1: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=certficate1.png",
      certficate2: "https://girls-social.mynatapp.cc"+"/api/infra/file?iconname=certficate2.png",
      
    },
    local_src:{
      setting: "images/setting.png"
    }
  },
  onLaunch() {
    // 展示本地存储能力
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
  },
})
